<?php

class ActionDelete extends BaseAction
{
    public function run()
    {
        $iRumorId = Yii::app()->request->getParam('rumor_id');
        $oRumor  = Rumor::model()->findByPk($iRumorId);
        $oRumor->delete();

        Yii::app()->controller->redirect(Yii::app()->controller->createUrl('/admin/rumors'));
    }
}